//
//  main.cpp
//  mm
//
//  Created by  AbbyCin on 12/16/14.
//  Copyright (c) 2014  AbbyCin. All rights reserved.
//

#include <iostream>

int main()
{
    using namespace std;
  // in a complex way
    struct CandyBar {
        char brand[20];
        float mass;
        int calories;
    } snack = {
        "kikat",
        100.1,
        1000,
    };
    
    cout << "brand: " << snack.brand << "\n"
    << "wright: " << snack.mass << "\n"
    << "calories:" << snack.calories << endl;
    
    return 0;
}
